﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">


    <!-- Global Settings. -->
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Brushes.xaml" />
        <ResourceDictionary Source="Fonts.xaml" />
    </ResourceDictionary.MergedDictionaries>

    <Style x:Key="NavigationButtonStyle" TargetType="{x:Type ToggleButton}">
        <Setter Property="Foreground" Value="{StaticResource InactiveNavigationForegroundColourBrush}" />
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="FontSize" Value="24" />
        <Setter Property="FontWeight" Value="Light" />
        <Setter Property="BorderThickness" Value="0" />
        <Setter Property="Margin" Value="10,0,0,0" />
        <Setter Property="Padding" Value="5" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ToggleButton}">
                    <Border HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="border" Padding="5" CornerRadius="0" Background="{StaticResource NavigationBarBackgroundColourBrush}" BorderBrush="#FF000000" BorderThickness="0" SnapsToDevicePixels="True">
                        <ContentPresenter x:Name="contentPresenter"/>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="False">
                            <Setter Property="Foreground" Value="{StaticResource InactiveNavigationForegroundColourBrush}" />
                            <Setter Property="Background" TargetName="border" Value="{StaticResource NavigationBarBackgroundColourBrush}"/>
                        </Trigger>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter Property="Foreground" Value="{StaticResource ActiveNavigationForegroundColourBrush}" />
                            <Setter Property="Background" Value="{StaticResource NavigationBarBackgroundColourBrush}" />
                         </Trigger>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter Property="Foreground" Value="{StaticResource HoverNavigationForegroundColourBrush}" />
                            <Setter Property="Background" Value="{StaticResource NavigationBarBackgroundColourBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="MainPageHeader" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{StaticResource Heading2FontSize}" />
        <Setter Property="FontWeight" Value="SemiBold" />
        <Setter Property="Foreground" Value="{StaticResource HeadingFontColorBrush}" />
    </Style>
    
    <Style x:Key="StandardTextLabel" TargetType="{x:Type Label}">
        <Setter Property="FontSize" Value="{StaticResource NormalFontSize}" />
        <Setter Property="Foreground" Value="{StaticResource StandardTextColourBrush}" />
    </Style>

</ResourceDictionary>